#include <iostream>
using namespace std;

int main(int argc, char const *argv[])
{
    /* code */
    int* ptr = new int[2]; //ÉêÇëÒ»¸öÕûÐÎ¶¯Ì¬ÄÚ´æ²¢´æ´¢µ½Ö¸Õë±äÁ¿ptr
    cout << ptr << endl;
    *ptr = 10000; //½«10000´æÈëptr
    *(ptr + 1) = 20000;
    cout << *(ptr + 1) << endl;
    delete[] ptr; //É¾³ýÕ¼ÓÃÄÚ´æ
    return 0;
}
